simulator lang=spectre
vA (test1 0) vsource type=pwl  wave=\[0.5n 1 1.5n 2 2.5n 4\]